package com.sunwayworld.basemodule.rm.environment.bean;

import com.sunwayworld.framework.data.annotation.Id;
import com.sunwayworld.framework.data.annotation.NotNull;
import com.sunwayworld.framework.data.annotation.Table;
import com.sunwayworld.framework.data.annotation.Transient;
import com.sunwayworld.framework.support.domain.Insertable;
import com.sunwayworld.framework.support.domain.AbstractInsertable;

import java.time.LocalDateTime;

import org.springframework.format.annotation.DateTimeFormat;
import com.alibaba.fastjson.annotation.JSONField;

/**
 * 环境信息
 *
 * @author zhoujq@sunwayworld.com
 * @date 2023-01-15
 */
@Table("T_LIMS_ENVIRONMENT_DATA")
public class LimsEnvironmentDataBean extends AbstractInsertable<Long> implements Insertable<Long> {

    @Transient
    private static final long serialVersionUID = -82566196618711043L;

    @Id
    private Long id;// 主键
    private Long roomId;// 房间ID
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;// 时间
    private String tempA;// 温度
    private String humA;// 湿度
    private String paA;// 缓冲间对走廊压差Pa
    private String roomTopaA;// 房间对缓冲间压差Pae
    private String dustParticlesA;// 尘埃粒子量
    private String recA;// 记录人
    private String remark;// 备注
    private String activatedFlag;// 激活状态
    private String activatedById;// 激活人
    private String activatedByName;// 激活人编码
    private String createdById;// 制单人编码
    private String createdByName;// 制单人名称
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdTime;// 制单时间
    private String createdByOrgId;// 制单人单位编码
    private String createdByOrgName;// 制单人单位名称
    @NotNull(defaultValue = "draft")
    private String processStatus;

    public String getProcessStatus() {
        return processStatus;
    }

    public void setProcessStatus(String processStatus) {
        this.processStatus = processStatus;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getRoomId() {
        return roomId;
    }

    public void setRoomId(Long roomId) {
        this.roomId = roomId;
    }

    public LocalDateTime getTime() {
        return time;
    }

    public void setTime(LocalDateTime time) {
        this.time = time;
    }

    public String getTempA() {
        return tempA;
    }

    public void setTempA(String tempA) {
        this.tempA = tempA;
    }

    public String getHumA() {
        return humA;
    }

    public void setHumA(String humA) {
        this.humA = humA;
    }

    public String getPaA() {
        return paA;
    }

    public void setPaA(String paA) {
        this.paA = paA;
    }

    public String getRoomTopaA() {
        return roomTopaA;
    }

    public void setRoomTopaA(String roomTopaA) {
        this.roomTopaA = roomTopaA;
    }

    public String getDustParticlesA() {
        return dustParticlesA;
    }

    public void setDustParticlesA(String dustParticlesA) {
        this.dustParticlesA = dustParticlesA;
    }

    public String getRecA() {
        return recA;
    }

    public void setRecA(String recA) {
        this.recA = recA;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getActivatedFlag() {
        return activatedFlag;
    }

    public void setActivatedFlag(String activatedFlag) {
        this.activatedFlag = activatedFlag;
    }

    public String getActivatedById() {
        return activatedById;
    }

    public void setActivatedById(String activatedById) {
        this.activatedById = activatedById;
    }

    public String getActivatedByName() {
        return activatedByName;
    }

    public void setActivatedByName(String activatedByName) {
        this.activatedByName = activatedByName;
    }

    public String getCreatedById() {
        return createdById;
    }

    public void setCreatedById(String createdById) {
        this.createdById = createdById;
    }

    public String getCreatedByName() {
        return createdByName;
    }

    public void setCreatedByName(String createdByName) {
        this.createdByName = createdByName;
    }

    public LocalDateTime getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(LocalDateTime createdTime) {
        this.createdTime = createdTime;
    }

    public String getCreatedByOrgId() {
        return createdByOrgId;
    }

    public void setCreatedByOrgId(String createdByOrgId) {
        this.createdByOrgId = createdByOrgId;
    }

    public String getCreatedByOrgName() {
        return createdByOrgName;
    }

    public void setCreatedByOrgName(String createdByOrgName) {
        this.createdByOrgName = createdByOrgName;
    }

}
